<template>
  <div class="tp-viewbox">
    <slot />
  </div>
</template>

<script lang="ts" setup>

</script>

<style lang="less">
.tp-viewbox {
  border-radius: 3px;
  box-shadow: 1px 1px 10px var(--s-border);
  box-sizing: border-box;
  overflow: auto;
  position: relative;

  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  &::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: rgba(100, 100, 100, .1);
  }
}
</style>